package com.imddy.gkrpc.example;

import com.imddy.gkrpc.client.RpcClient;

public class Client {

	public static void main(String[] args) {
		RpcClient client = new RpcClient();
		CalcService service = client.getProxy(CalcService.class);
		
		int r1 = service.add(2, 3);
		int r2 = service.minus(10, 3);
		
		System.out.println("r1: " + r1);
		System.out.println("r2: " + r2);
	}
}
